package com.whu.exam.modules.qu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("el_qu_answer")
public class QuAnswer extends Model<QuAnswer> {

    private static final long serialVersionUID = 1L;

    /**
     * 答案ID
     */
    @ApiModelProperty(value = "答案ID", required=true)
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 问题ID
     */
    @TableField("qu_id")
    @ApiModelProperty(value = "问题ID", required=true)
    private String quId;

    /**
     * 是否正确
     */
    @TableField("is_right")
    @ApiModelProperty(value = "是否正确", required=true)
    private Boolean isRight;

    /**
     * 选项图片
     */
    @ApiModelProperty(value = "选项图片", required=true)
    private String image;

    /**
     * 答案内容
     */
    @ApiModelProperty(value = "答案内容", required=true)
    private String content;


    /**
     * 答案分析
     */
    @ApiModelProperty(value = "答案分析", required=true)
    private String analysis;

}
